package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SteelplantDevicePlanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SteelplantDevicePlanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNull() {
            addCriterion("department is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNotNull() {
            addCriterion("department is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentEqualTo(String value) {
            addCriterion("department =", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotEqualTo(String value) {
            addCriterion("department <>", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThan(String value) {
            addCriterion("department >", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("department >=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThan(String value) {
            addCriterion("department <", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThanOrEqualTo(String value) {
            addCriterion("department <=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLike(String value) {
            addCriterion("department like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotLike(String value) {
            addCriterion("department not like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentIn(List<String> values) {
            addCriterion("department in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotIn(List<String> values) {
            addCriterion("department not in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentBetween(String value1, String value2) {
            addCriterion("department between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotBetween(String value1, String value2) {
            addCriterion("department not between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andDesign_timeIsNull() {
            addCriterion("design_time is null");
            return (Criteria) this;
        }

        public Criteria andDesign_timeIsNotNull() {
            addCriterion("design_time is not null");
            return (Criteria) this;
        }

        public Criteria andDesign_timeEqualTo(String value) {
            addCriterion("design_time =", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeNotEqualTo(String value) {
            addCriterion("design_time <>", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeGreaterThan(String value) {
            addCriterion("design_time >", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeGreaterThanOrEqualTo(String value) {
            addCriterion("design_time >=", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeLessThan(String value) {
            addCriterion("design_time <", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeLessThanOrEqualTo(String value) {
            addCriterion("design_time <=", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeLike(String value) {
            addCriterion("design_time like", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeNotLike(String value) {
            addCriterion("design_time not like", value, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeIn(List<String> values) {
            addCriterion("design_time in", values, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeNotIn(List<String> values) {
            addCriterion("design_time not in", values, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeBetween(String value1, String value2) {
            addCriterion("design_time between", value1, value2, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesign_timeNotBetween(String value1, String value2) {
            addCriterion("design_time not between", value1, value2, "design_time");
            return (Criteria) this;
        }

        public Criteria andDesignerIsNull() {
            addCriterion("designer is null");
            return (Criteria) this;
        }

        public Criteria andDesignerIsNotNull() {
            addCriterion("designer is not null");
            return (Criteria) this;
        }

        public Criteria andDesignerEqualTo(String value) {
            addCriterion("designer =", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerNotEqualTo(String value) {
            addCriterion("designer <>", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerGreaterThan(String value) {
            addCriterion("designer >", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerGreaterThanOrEqualTo(String value) {
            addCriterion("designer >=", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerLessThan(String value) {
            addCriterion("designer <", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerLessThanOrEqualTo(String value) {
            addCriterion("designer <=", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerLike(String value) {
            addCriterion("designer like", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerNotLike(String value) {
            addCriterion("designer not like", value, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerIn(List<String> values) {
            addCriterion("designer in", values, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerNotIn(List<String> values) {
            addCriterion("designer not in", values, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerBetween(String value1, String value2) {
            addCriterion("designer between", value1, value2, "designer");
            return (Criteria) this;
        }

        public Criteria andDesignerNotBetween(String value1, String value2) {
            addCriterion("designer not between", value1, value2, "designer");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathIsNull() {
            addCriterion("design_filepath is null");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathIsNotNull() {
            addCriterion("design_filepath is not null");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathEqualTo(String value) {
            addCriterion("design_filepath =", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathNotEqualTo(String value) {
            addCriterion("design_filepath <>", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathGreaterThan(String value) {
            addCriterion("design_filepath >", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathGreaterThanOrEqualTo(String value) {
            addCriterion("design_filepath >=", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathLessThan(String value) {
            addCriterion("design_filepath <", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathLessThanOrEqualTo(String value) {
            addCriterion("design_filepath <=", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathLike(String value) {
            addCriterion("design_filepath like", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathNotLike(String value) {
            addCriterion("design_filepath not like", value, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathIn(List<String> values) {
            addCriterion("design_filepath in", values, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathNotIn(List<String> values) {
            addCriterion("design_filepath not in", values, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathBetween(String value1, String value2) {
            addCriterion("design_filepath between", value1, value2, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andDesign_filepathNotBetween(String value1, String value2) {
            addCriterion("design_filepath not between", value1, value2, "design_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_stateIsNull() {
            addCriterion("review_state is null");
            return (Criteria) this;
        }

        public Criteria andReview_stateIsNotNull() {
            addCriterion("review_state is not null");
            return (Criteria) this;
        }

        public Criteria andReview_stateEqualTo(String value) {
            addCriterion("review_state =", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateNotEqualTo(String value) {
            addCriterion("review_state <>", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateGreaterThan(String value) {
            addCriterion("review_state >", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateGreaterThanOrEqualTo(String value) {
            addCriterion("review_state >=", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateLessThan(String value) {
            addCriterion("review_state <", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateLessThanOrEqualTo(String value) {
            addCriterion("review_state <=", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateLike(String value) {
            addCriterion("review_state like", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateNotLike(String value) {
            addCriterion("review_state not like", value, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateIn(List<String> values) {
            addCriterion("review_state in", values, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateNotIn(List<String> values) {
            addCriterion("review_state not in", values, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateBetween(String value1, String value2) {
            addCriterion("review_state between", value1, value2, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_stateNotBetween(String value1, String value2) {
            addCriterion("review_state not between", value1, value2, "review_state");
            return (Criteria) this;
        }

        public Criteria andReview_filepathIsNull() {
            addCriterion("review_filepath is null");
            return (Criteria) this;
        }

        public Criteria andReview_filepathIsNotNull() {
            addCriterion("review_filepath is not null");
            return (Criteria) this;
        }

        public Criteria andReview_filepathEqualTo(String value) {
            addCriterion("review_filepath =", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathNotEqualTo(String value) {
            addCriterion("review_filepath <>", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathGreaterThan(String value) {
            addCriterion("review_filepath >", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathGreaterThanOrEqualTo(String value) {
            addCriterion("review_filepath >=", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathLessThan(String value) {
            addCriterion("review_filepath <", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathLessThanOrEqualTo(String value) {
            addCriterion("review_filepath <=", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathLike(String value) {
            addCriterion("review_filepath like", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathNotLike(String value) {
            addCriterion("review_filepath not like", value, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathIn(List<String> values) {
            addCriterion("review_filepath in", values, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathNotIn(List<String> values) {
            addCriterion("review_filepath not in", values, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathBetween(String value1, String value2) {
            addCriterion("review_filepath between", value1, value2, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andReview_filepathNotBetween(String value1, String value2) {
            addCriterion("review_filepath not between", value1, value2, "review_filepath");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatoridIsNull() {
            addCriterion("creatorid is null");
            return (Criteria) this;
        }

        public Criteria andCreatoridIsNotNull() {
            addCriterion("creatorid is not null");
            return (Criteria) this;
        }

        public Criteria andCreatoridEqualTo(Long value) {
            addCriterion("creatorid =", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridNotEqualTo(Long value) {
            addCriterion("creatorid <>", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridGreaterThan(Long value) {
            addCriterion("creatorid >", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridGreaterThanOrEqualTo(Long value) {
            addCriterion("creatorid >=", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridLessThan(Long value) {
            addCriterion("creatorid <", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridLessThanOrEqualTo(Long value) {
            addCriterion("creatorid <=", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridIn(List<Long> values) {
            addCriterion("creatorid in", values, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridNotIn(List<Long> values) {
            addCriterion("creatorid not in", values, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridBetween(Long value1, Long value2) {
            addCriterion("creatorid between", value1, value2, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridNotBetween(Long value1, Long value2) {
            addCriterion("creatorid not between", value1, value2, "creatorid");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andDesign_nameIsNull() {
            addCriterion("design_name is null");
            return (Criteria) this;
        }

        public Criteria andDesign_nameIsNotNull() {
            addCriterion("design_name is not null");
            return (Criteria) this;
        }

        public Criteria andDesign_nameEqualTo(String value) {
            addCriterion("design_name =", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameNotEqualTo(String value) {
            addCriterion("design_name <>", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameGreaterThan(String value) {
            addCriterion("design_name >", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameGreaterThanOrEqualTo(String value) {
            addCriterion("design_name >=", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameLessThan(String value) {
            addCriterion("design_name <", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameLessThanOrEqualTo(String value) {
            addCriterion("design_name <=", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameLike(String value) {
            addCriterion("design_name like", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameNotLike(String value) {
            addCriterion("design_name not like", value, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameIn(List<String> values) {
            addCriterion("design_name in", values, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameNotIn(List<String> values) {
            addCriterion("design_name not in", values, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameBetween(String value1, String value2) {
            addCriterion("design_name between", value1, value2, "design_name");
            return (Criteria) this;
        }

        public Criteria andDesign_nameNotBetween(String value1, String value2) {
            addCriterion("design_name not between", value1, value2, "design_name");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}